﻿using System;
using System.Collections;
using System.Collections.Generic;

using AUV5.Model;

namespace AUV5.DAL.Interface
{
    /// <summary>
    /// 功能：     UserField 的业务接口，定义业务功能
    /// 作者：     lwl
    /// 日期：     2011/11/11
    /// 修改日期： 
    /// 修改人：
    /// 修改内容：
    /// </summary>
    public interface IUserFieldDao
    {
        /// <summary>
        /// 得到最大行数
        /// </summary>
        /// <returns></returns>
        int GetMaxCounts();

        /// <summary>
        /// 得到列表
        /// </summary>
        /// <returns></returns>
        System.Collections.Generic.IList<UserField> GetList();

        /// <summary>
        /// 通过不同参数得到列表
        /// </summary>
        /// <param name="objParameters"></param>
        /// <returns></returns>
        System.Collections.Generic.IList<UserField> GetListByParameters(object objParameters);

        /// <summary>
        /// 得到明细
        /// </summary>
        /// <param name="FieldID"></param>
        /// <returns></returns>
        UserField GetDetail(System.String fieldid);

        /// <summary>
        /// 由其他参数得到明细
        /// </summary>
        /// <param name="DataID"></param>
        /// <returns></returns>
        UserField GetDetail(UserField userField);
        /// <summary>
        /// 新建
        /// </summary>
        object Add(UserField userfield);

        /// <summary>
        /// 修改
        /// </summary>
        int Update(UserField userfield);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="FieldID"></param>
        int Delete(System.String fieldid);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="userfield"></param>
        int Delete(UserField userfield);
    }
}
